cmake_minimum_required(VERSION 3.0.0)
project(YYShark VERSION 0.1.0 LANGUAGES C)

#添加头文件
include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/zlog/include
    ${CMAKE_CURRENT_SOURCE_DIR}/include
)

# 添加源文件
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src SRC_LIST)

# 指定生成目标
add_executable(${PROJECT_NAME} ${SRC_LIST})

# 添加库文件
target_link_libraries(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/zlog/lib/libzlog.so)
